<div ng-include src="'tpl/public/header.html'"></div> 
<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">私募订单列表</li>
  </ol>
  <div ng-click="changeShowOrderManagerLayer()" style="filter: glow(color=black,strength=3); height:10px; color:red; padding:1px;float:right;">(消息)</div>

  <table class="table table-striped table-hover">
    <thead>
      <tr>
        
        <th width="50">订单ID</th>
        <th>基金简称</th>
        <th width="90">订单金额</th>
        <th width="100">客户姓名</th>
        <th width="100">客户手机号</th>
        <th width="100">理财师</th>
        <th width="120">理财师手机号</th>
        
        <th width="50">状态</th>
        <th width="60">预约时间</th>
        <th width="60">处理时间</th>
        <th width="115">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in list">
       
        <td>{{item.orderTmp.id}}</td>
        <td><a href="#/simu/view?id={{item.product.id}}">{{item.product.jjmc}}</a></td>
        <td>{{item.orderTmp.oAmount | moneyRender}}</td>
        <td>{{item.orderTmp.oClientName}}</td>
        <td>{{item.orderTmp.oClientMobile}}</td>
        <td>{{item.faInfo.faShowName}}</td>
        <td>{{item.faInfo.uMobile}}</td>
       
        <td class="withdraw-status-{{item.orderTmp.status}}">{{item.orderTmp.status | simuOrderStatusRender}}</td>
        <td>{{item.orderTmp.createDate | date:'yyyy-MM-dd HH:mm'}}</td>
        <td>{{item.orderTmp.updateDate | date:'yyyy-MM-dd HH:mm'}}</td>
        <td class="optd">
          <a href="#/simu/order/view?id={{item.orderTmp.id}}" has-auth where="btn" who="SIMU_ORDER_EDIT">详情</a>
          <a ng-click="process(item.orderTmp.id)" has-auth where="btn" who="SIMU_ORDER_EDIT" class="cur-p">标为已处理</a>
        </td>
      </tr>
    <tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
</div> 

<div class="layer-box" ng-show="isShowOrderManagerLayer">
  <div class="layer-bg"></div>
  <div class="layer-con " style="padding:10px 20px;">
    <span class="icons-close" title="关闭" ng-click="isShowOrderManagerLayer = false;">X</span>
    <div class="layer-title">
      <label >今天的订单情况</label>
    </div>
    <div class="con-wrap">
      <div class="form-group" >
        <table class="order-f-h" style="width:100%">
          <tr ng-repeat="order in orderList">
            <td >
              订单号：
            </td>
            <td >
              {{order.o_code}}
            </td>
            <td >
              当前状态
            </td>
            <td >
              {{order.o_status}}
            </td>
            <td >
              状态天数：
            </td>
            <td >
              {{order.dateDiffnow}}
            </td>
          </tr>
          
          
        </table>
      </div>
    </div>
  </div>
</div> 

